home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / Clean 1.2.4 / Clean Help / Clean Help.rsrc / STR#_10014.txt < prev    next >
Encoding:
Text File  |  1997-06-20  |  25.0 KB  |  1,756 lines

  1. 
  2.  
  3. √±9. The Menus
  4.  
  5. 
  6.  
  7. This section describes each of Concurrent Clean's menus.
  8.  
  9. 
  10.  
  11. 
  12.  
  13. 
  14.  
  15. 
  16.  
  17. xThe Apple Menu
  18.  
  19. 
  20.  
  21. Ë
  22.  
  23. Ë
  24.  
  25. Ë
  26.  
  27. 
  28.  
  29. 
  30.  
  31. ‚Ä¢   About Clean System‚Ķ
  32.  
  33. 
  34.  
  35. This command opens Concurrent Clean's About window.
  36.  
  37. 
  38.  
  39. 
  40.  
  41. 
  42.  
  43. xThe File Menu
  44.  
  45. 
  46.  
  47. È
  48.  
  49. È
  50.  
  51. È
  52.  
  53. È
  54.  
  55. È
  56.  
  57. È
  58.  
  59. È
  60.  
  61. È
  62.  
  63. È
  64.  
  65. √à    
  66.  
  67. È
  68.  
  69.  
  70. È
  71.  
  72. È
  73.  
  74. È
  75.  
  76.  
  77. È
  78.  
  79. È
  80.  
  81. È
  82.  
  83. È⌘
  84.  
  85. È⇧
  86.  
  87. È⌥
  88.  
  89. È⌃
  90.  
  91. È
  92.  
  93. 
  94.  
  95. 
  96.  
  97. ‚Ä¢   New‚Ķ
  98.  
  99. 
  100.  
  101. A new window to a new file will be opened with the default name
  102.  
  103. Untitled.icl. This default name can be changed in the Dialog. When you don't
  104.  
  105. want the dialog to change the default name, hold down the shift key and
  106.  
  107. choose New.
  108.  
  109. 
  110.  
  111. The window can be edited with the Concurrent Clean text editor and its
  112.  
  113. contents can be saved to the file (see Save and Save As‚Ķ)
  114.  
  115. 
  116.  
  117. The following type of windows / files can be created:
  118.  
  119. 
  120.  
  121. ‚Ä¢   Clean Module: an implementation module with extension .icl
  122.  
  123. ‚Ä¢   Clean Definition Module: a definition module with extension .dcl
  124.  
  125. ‚Ä¢   pABC File: an ABC / PABC file with extension .abc
  126.  
  127. ‚Ä¢   Text File: any text file (for instance .a files)
  128.  
  129. 
  130.  
  131. See also Files.
  132.  
  133. 
  134.  
  135. ‚Ä¢   Open‚Ķ
  136.  
  137. 
  138.  
  139. Open a window on an existing file.
  140.  
  141. 
  142.  
  143. The standard Open dialog appears.
  144.  
  145. 
  146.  
  147. Files that can be opened and edited are: .icl, .dcl, .abc, .s, .a files or any
  148.  
  149. other text file.
  150.  
  151. 
  152.  
  153. See also Files.
  154.  
  155. 
  156.  
  157. ‚Ä¢   Open Definition
  158.  
  159. 
  160.  
  161. This command is usually disabled. When a portion of text is selected (for
  162.  
  163. example the text "selection") the command is enabled and changes to Open
  164.  
  165. "selection.dcl". When this command is chosen it will try to open the
  166.  
  167. corresponding .dcl file. It can be used to quickly open imported modules:
  168.  
  169. just select the name of the file in the IMPORT statement and choose this
  170.  
  171. command. For an easy way to locate the definitions of imported functions
  172.  
  173. and types see Find Definition and Find Implementation under the Search
  174.  
  175. menu.
  176.  
  177. 
  178.  
  179. ‚Ä¢   Open Implementation
  180.  
  181. 
  182.  
  183. This command works the same as the Open Definition command, but now
  184.  
  185. the implementation module (.icl file) will be opened.
  186.  
  187. 
  188.  
  189. ‚Ä¢   Close
  190.  
  191. 
  192.  
  193. Closes the active (front) window.
  194.  
  195. 
  196.  
  197. A dialog will appear when a text window is closed with a contents
  198.  
  199. different from the corresponding file.
  200.  
  201. 
  202.  
  203. ‚Ä¢   Save
  204.  
  205. 
  206.  
  207. Save the contents of the active (front) window to the corresponding file.
  208.  
  209. 
  210.  
  211. ‚Ä¢   Save As‚Ķ
  212.  
  213. 
  214.  
  215. Save the contents of the active (front) window to the indicated file. A
  216.  
  217. standard New File dialog appears, asking you to specify the file's name
  218.  
  219. and location.
  220.  
  221. 
  222.  
  223. ‚Ä¢   Revert
  224.  
  225. 
  226.  
  227. Reopen the last saved version of the file corresponding to the active
  228.  
  229. (front) window. A dialog appears to warn you that the changes made after
  230.  
  231. the last time
  232.  
  233. the text was saved will be lost.
  234.  
  235. 
  236.  
  237. ‚Ä¢   Page Setup‚Ķ
  238.  
  239. 
  240.  
  241. This command presents the standard Page Setup dialog.
  242.  
  243. 
  244.  
  245. ‚Ä¢   Print‚Ķ
  246.  
  247. 
  248.  
  249. This command presents the standard Print dialog. Any text file can be
  250.  
  251. printed. Also the Help file can be printed (see also Help).
  252.  
  253. 
  254.  
  255. ‚Ä¢   Quit
  256.  
  257. 
  258.  
  259. Quit the Concurrent Clean System.
  260.  
  261. 
  262.  
  263. 
  264.  
  265. 
  266.  
  267. xThe Edit Menu
  268.  
  269. 
  270.  
  271. Í
  272.  
  273. Í
  274.  
  275. Í
  276.  
  277. Í
  278.  
  279. Í
  280.  
  281. Í
  282.  
  283. Í
  284.  
  285. Í
  286.  
  287. Í
  288.  
  289. √ç    
  290.  
  291. Í
  292.  
  293.  
  294. Í
  295.  
  296. Í
  297.  
  298. Í
  299.  
  300.  
  301. Í
  302.  
  303. Í
  304.  
  305. Í
  306.  
  307. 
  308.  
  309. 
  310.  
  311. ‚Ä¢   Undo
  312.  
  313. 
  314.  
  315. Undo the last change made in the text of the front window.
  316.  
  317. 
  318.  
  319. ‚Ä¢   Cut
  320.  
  321. 
  322.  
  323. Cuts the text currently selected in the front window to the clipboard.
  324.  
  325. 
  326.  
  327. ‚Ä¢   Copy
  328.  
  329. 
  330.  
  331. Copies the text currently selected in the front window to the clipboard.
  332.  
  333. 
  334.  
  335. ‚Ä¢   Paste
  336.  
  337. 
  338.  
  339. Insert the contents of the clipboard at the current cursor location or
  340.  
  341. replace the currently selected text in the front window by the contents of
  342.  
  343. the clipboard.
  344.  
  345. 
  346.  
  347. ‚Ä¢   Clear
  348.  
  349. 
  350.  
  351. Clear the text currently selected in the front window.
  352.  
  353. 
  354.  
  355. ‚Ä¢   Balance
  356.  
  357. 
  358.  
  359. This commands selects the smallest balanced piece of text that surrounds
  360.  
  361. the current cursor position or currently selected text.
  362.  
  363. 
  364.  
  365. This feature can be used to find corresponding open and close symbols in
  366.  
  367. Concurrent Clean programs.
  368.  
  369. 
  370.  
  371. The following symbols are considered: Parentheses: '(' and ')' to check
  372.  
  373. expressions, Brackets: '[' and ']' to check lists, Curly braces: '{' and '}'
  374.  
  375. to check annotations. Comment brackets '/*' and '*/' to check bracketed
  376.  
  377. comments.
  378.  
  379. 
  380.  
  381. ‚Ä¢   Select All
  382.  
  383. 
  384.  
  385. Select all text of the front window.
  386.  
  387. 
  388.  
  389. 
  390.  
  391. ‚Ä¢   Format‚Ķ
  392.  
  393. 
  394.  
  395. —
  396.  
  397. —
  398.  
  399. —
  400.  
  401. —
  402.  
  403. —
  404.  
  405. —
  406.  
  407. —
  408.  
  409. —
  410.  
  411. —
  412.  
  413. ‚Äî    
  414.  
  415. —
  416.  
  417.  
  418. —
  419.  
  420. —
  421.  
  422. —
  423.  
  424.  
  425. —
  426.  
  427. —
  428.  
  429. —
  430.  
  431. 
  432.  
  433. 
  434.  
  435. The dialog allows you to assign a new text font and text size to the active
  436.  
  437. (front) text window. Also the tab width can be redefined. With the Auto
  438.  
  439. Indentcheck box the auto indent facility of the text editor can be switched
  440.  
  441. on and off for the active window.
  442.  
  443. 
  444.  
  445. All settings are stored in the resource of the corresponding file or in the
  446.  
  447. Clean preference file when a window is closed or the file is saved.
  448.  
  449. 
  450.  
  451. 
  452.  
  453. 
  454.  
  455. xThe Search Menu
  456.  
  457. 
  458.  
  459. Î
  460.  
  461. Î
  462.  
  463. Î
  464.  
  465. Î
  466.  
  467. Î
  468.  
  469. Î
  470.  
  471. Î
  472.  
  473. Î
  474.  
  475. Î
  476.  
  477. √é    
  478.  
  479. Î
  480.  
  481.  
  482. Î
  483.  
  484. Î
  485.  
  486. Î
  487.  
  488.  
  489. Î
  490.  
  491. Î
  492.  
  493. 
  494.  
  495. 
  496.  
  497. 
  498.  
  499. ‚Ä¢   Find‚Ķ
  500.  
  501. 
  502.  
  503. “
  504.  
  505. “
  506.  
  507. “
  508.  
  509. “
  510.  
  511. “
  512.  
  513. “
  514.  
  515. “
  516.  
  517. “
  518.  
  519. “
  520.  
  521. ‚Äú    
  522.  
  523. “
  524.  
  525.  
  526. “
  527.  
  528. 
  529.  
  530. 
  531.  
  532. A dialog appears in which one can define a text to search for (in the Find
  533.  
  534. Box) and the text to replace the found text with (in the Replace Box).
  535.  
  536. 
  537.  
  538. By default the Find and Replace starts from the current cursor position or
  539.  
  540. currently selected text to the end of the text. On demand the Find and
  541.  
  542. Replace goes backwards to the beginning of the text. When Wrap Around is
  543.  
  544. chosen the Findand Replace does not stop at the beginning and end of the
  545.  
  546. text in the activewindow. When Ignore Case is chosen, no distinction is
  547.  
  548. made between upper and lower case characters in the text to search for.
  549.  
  550. When the Match Words option is checked only whole words will be
  551.  
  552. selected. When the text to search for appears as a part of another word it
  553.  
  554. will be ignored. Whole words are delimited by outline characters (spaces,
  555.  
  556. tabs, (semi)colons, quotes etcetera).
  557.  
  558. 
  559.  
  560. ‚Ä¢   Find Again
  561.  
  562. 
  563.  
  564. When a text has been entered in the Find Box (see Find...) this command
  565.  
  566. changes to Find Next. It will find the next piece of text as defined in the
  567.  
  568. Find Box. When the Shift key is held down the command changes to Find
  569.  
  570. Previous, which finds the previous piece of text as defined in the Find
  571.  
  572. Box. When the Backwards option is checked in the Find dialog it is the
  573.  
  574. other way around (without shift: Find Previous, with shift: Find Next).
  575.  
  576. 
  577.  
  578. ‚Ä¢   Find Selection
  579.  
  580. 
  581.  
  582. The selected piece of text will be entered into the Find Box (see Find...)
  583.  
  584. and the next occurrence of the selection will be found. When shift is
  585.  
  586. pressed the previous occurrence will be found. When the Backwards option
  587.  
  588. is checked in the Find dialog it is the other way around (without shift: find
  589.  
  590. previous, with shift: find next).
  591.  
  592. 
  593.  
  594. ‚Ä¢   Replace & Find
  595.  
  596. 
  597.  
  598. Replace found text with the text as defined in the Replace Box and find the
  599.  
  600. next piece of text as defined in the Find Box (see Find...). When shift is
  601.  
  602. being held down the previous occurrence will be found. When the
  603.  
  604. Backwards option is checked in the Find dialog it is the other way around
  605.  
  606. (without shift: find previous, with shift: find next).
  607.  
  608. 
  609.  
  610. ‚Ä¢   Find Error
  611.  
  612. 
  613.  
  614. This command selects the next error message in the Errors window and
  615.  
  616. also selects the corresponding text line in which the error occurred. When
  617.  
  618. an error occurs in a file which is not opened a window on this file will be
  619.  
  620. opened automatically. This command only has an effect when the Errors
  621.  
  622. window is open.
  623.  
  624. 
  625.  
  626. ‚Ä¢   Find Definition
  627.  
  628. 
  629.  
  630. When a Clean symbol (function, type or constructor) is selected this
  631.  
  632. command will try to find the definition of this symbol in its definition
  633.  
  634. module. Pressing command and double-clicking on the name has the same
  635.  
  636. effect. Functions that have no type specification cannot be found. When
  637.  
  638. your Clean modules have a (very) unusual lay-out the search algorithm
  639.  
  640. might also not be able to find the definitions of Clean symbols.
  641.  
  642. 
  643.  
  644. Implem.
  645.  
  646. ‚Ä¢   Find Implementation
  647.  
  648. 
  649.  
  650. This command does the same as Find Definition, but now the
  651.  
  652. implementation modules will be searched for the symbol. Holding down
  653.  
  654. shift and command and double-clicking on the name has the same effect as
  655.  
  656. this command.
  657.  
  658. 
  659.  
  660. 
  661.  
  662. ‚Ä¢   Goto Line‚Ķ
  663.  
  664. 
  665.  
  666. ”
  667.  
  668. ”
  669.  
  670. ”
  671.  
  672. ”
  673.  
  674. ”
  675.  
  676. ”
  677.  
  678. ”
  679.  
  680. ”
  681.  
  682. 
  683.  
  684. 
  685.  
  686. Select the line with the indicated line number. Define the desired line
  687.  
  688. number in dialog box. The lines in a text window are numbered starting
  689.  
  690. from 1. The line with the indicated line number is selected. One can move
  691.  
  692. the cursor to the end of the text by entering a line number greater than
  693.  
  694. the number of lines in the text. Entering the line number zero and pressing
  695.  
  696. OK has the same effect as pressing Cancel: nothing happens. For other
  697.  
  698. ways of moving the cursor around and selecting lines see the entry Text
  699.  
  700. Editor.
  701.  
  702. 
  703.  
  704. 
  705.  
  706. 
  707.  
  708. xThe Commands Menu
  709.  
  710. 
  711.  
  712. Ï
  713.  
  714. Ï
  715.  
  716. Ï
  717.  
  718. Ï
  719.  
  720. Ï
  721.  
  722. Ï
  723.  
  724. Ï
  725.  
  726. Ï
  727.  
  728. Ï
  729.  
  730. √è    
  731.  
  732. Ï
  733.  
  734.  
  735. Ï
  736.  
  737. Ï
  738.  
  739. Ï
  740.  
  741.  
  742. 
  743.  
  744. 
  745.  
  746. ‚Ä¢   Compile
  747.  
  748. 
  749.  
  750. Compile the Concurrent Clean implementation module (name.icl) displayed
  751.  
  752. in the active window.
  753.  
  754. 
  755.  
  756. Error messages will appear when inconsistencies are found. With Find
  757.  
  758. Error in the Search menu the line in which the error was found is
  759.  
  760. selected.
  761.  
  762. 
  763.  
  764. When no errors are found, type information is displayed in the Types
  765.  
  766. window when this option was chosen (see Clean Compiler‚Ķ).
  767.  
  768. 
  769.  
  770. A file name.abc will be created in the folder Clean System Files. This
  771.  
  772. folder will also be created if it does not yet exist in the same folder
  773.  
  774. where name.icl/name.dcl is located.
  775.  
  776. 
  777.  
  778. For more information see the entry Clean Compiler in the Table of
  779.  
  780. Contents. Check the compiler options in the Options menu when in doubt.
  781.  
  782. See also the Clean Reference Manual.
  783.  
  784. 
  785.  
  786. ‚Ä¢   Check Syntax
  787.  
  788. 
  789.  
  790. Check the Concurrent Clean implementation module (name.icl) displayed in
  791.  
  792. the active window.
  793.  
  794. 
  795.  
  796. Check Syntax does the same as compile, but now no .abc file is generated.
  797.  
  798. 
  799.  
  800. ‚Ä¢   Generate Assembly
  801.  
  802. 
  803.  
  804. Generate an assembly file corresponding to the Concurrent Clean
  805.  
  806. implementation module (name.icl) displayed in the active window. The
  807.  
  808. assembly file is placed in the same folder as the icl file and has the
  809.  
  810. extension .a (for example name.a).
  811.  
  812. 
  813.  
  814. The assembly file is generated by the Code Generator taken a name.abc
  815.  
  816. file as input. This file is generated by the Clean compiler. If the .abc file is
  817.  
  818. not present or inconsistent the Generate Assembly command will invoke a
  819.  
  820. compilation of the implementation module (see Compile).
  821.  
  822. 
  823.  
  824. See also the entries Files and Code Generator.
  825.  
  826. 
  827.  
  828. ‚Ä¢   Set Project
  829.  
  830. 
  831.  
  832. Let the name of the project be the name of the Concurrent Clean
  833.  
  834. implementation module (name.icl) displayed in the active window.
  835.  
  836. 
  837.  
  838. Implicitly the name of a project is determined by the implementation
  839.  
  840. module displayed in the front window. So, by default such an
  841.  
  842. implementation module is taken as the main module. See also the entry
  843.  
  844. Project Manager.
  845.  
  846. 
  847.  
  848. When Set Project is chosen any other open implementation module may
  849.  
  850. explicitly be assigned to be the main module. This feature enables
  851.  
  852. automatic compilation and generation of code starting while another
  853.  
  854. window than the window on the main module is in front.
  855.  
  856. 
  857.  
  858. The default situation can be reset again by choosing Close Project from
  859.  
  860. the Commands menu.
  861.  
  862. 
  863.  
  864. See also the entry Project Manager.
  865.  
  866. 
  867.  
  868. ‚Ä¢   Close project
  869.  
  870. 
  871.  
  872. Close the current project.
  873.  
  874. 
  875.  
  876. This command can be chosen when a project has been set explicitly via
  877.  
  878. Set Project. Now again the implicit default is chosen (see Set Project).
  879.  
  880. 
  881.  
  882. ‚Ä¢   Bring Up to Date
  883.  
  884. 
  885.  
  886. This command will bring the project up-to-date.
  887.  
  888. 
  889.  
  890. This means that, starting from the main module all implementations that
  891.  
  892. are inconsistent will be recompiled (see Compile). Also the inconsistent
  893.  
  894. object files are regenerated and a new application is build.
  895.  
  896. 
  897.  
  898. Inconsistencies can arise when implementation modules are modified or
  899.  
  900. when implementation modules have to be recompiled because they are
  901.  
  902. depending on modified or recompiled modules.
  903.  
  904. 
  905.  
  906. Convince yourself that the proper project is chosen, either implicitly
  907.  
  908. (activate the window of the main module), or explicitly (via Set
  909.  
  910. Project…).
  911.  
  912. 
  913.  
  914. After an update all files are consistent. Launching of an application can
  915.  
  916. now be done without recompilations.
  917.  
  918. 
  919.  
  920. ‚Ä¢   Run project-name
  921.  
  922. 
  923.  
  924. This command first brings a Concurrent Clean program up-to-date and
  925.  
  926. then launches
  927.  
  928. it.
  929.  
  930. 
  931.  
  932. The Run command will perform the same actions as the Bring Up To Date
  933.  
  934. command explained above. In addition the generated application is
  935.  
  936. launched. The system will warn you when there is not enough free
  937.  
  938. memory left to launch the generated application.
  939.  
  940. 
  941.  
  942. Run is displayed dimmed when no project is chosen (no .icl window in
  943.  
  944. front or no project set with Set Project).
  945.  
  946. 
  947.  
  948. When a launched application is finished, you will return to the Concurrent
  949.  
  950. Clean System automatically. When you are running an old finder (not a
  951.  
  952. multi-finder) this will take a while because the Clean System has to be
  953.  
  954. reloaded.  Convince yourself that the proper project is chosen, either
  955.  
  956. implicitly (activate the window of the  main module), or explicitly (via
  957.  
  958. Set Project‚Ķ).
  959.  
  960. 
  961.  
  962. 
  963.  
  964. 
  965.  
  966. xThe Options Menu
  967.  
  968. 
  969.  
  970. Ì
  971.  
  972. Ì
  973.  
  974. Ì
  975.  
  976. Ì
  977.  
  978. Ì
  979.  
  980. Ì
  981.  
  982. Ì
  983.  
  984. Ì
  985.  
  986. Ì
  987.  
  988. 
  989.  
  990. 
  991.  
  992. 
  993.  
  994. ‚Ä¢   Clean
  995.  
  996. Compiler...
  997.  
  998. 
  999.  
  1000. ‘
  1001.  
  1002. ‘
  1003.  
  1004. ‘
  1005.  
  1006. ‘
  1007.  
  1008. ‘
  1009.  
  1010. ‘
  1011.  
  1012. ‘
  1013.  
  1014. ‘
  1015.  
  1016. ‘
  1017.  
  1018. ‚Äò    
  1019.  
  1020. ‘
  1021.  
  1022.  
  1023. ‘
  1024.  
  1025. ‘
  1026.  
  1027. ‘
  1028.  
  1029.  
  1030. ‘
  1031.  
  1032. ‘
  1033.  
  1034. ‘
  1035.  
  1036. ‘⌘
  1037.  
  1038. 
  1039.  
  1040. 
  1041.  
  1042. A dialog appears to set the options of the Clean compiler.  Options can be
  1043.  
  1044. set for the current implementation module (.icl file) as well as for new
  1045.  
  1046. modules.
  1047.  
  1048. 
  1049.  
  1050. ‚Ä¢ Strictness Analyzer
  1051.  
  1052. 
  1053.  
  1054. When this option is set the strictness analyser will try to determine
  1055.  
  1056. whether or not the defined functions are strict in their arguments. Strict
  1057.  
  1058. arguments will be marked with '!' in the type definition.
  1059.  
  1060. 
  1061.  
  1062. In general, much better code will be generated when this option is set. The
  1063.  
  1064. penalty is that the compilation takes more time.
  1065.  
  1066. 
  1067.  
  1068. When you are exporting a function with strict arguments, it is for
  1069.  
  1070. efficiency reasons better to export the strictness information also. You
  1071.  
  1072. have to do this by hand. Define the type specification including the
  1073.  
  1074. strictness information in both the definition and the implementation
  1075.  
  1076. module.
  1077.  
  1078. 
  1079.  
  1080. Strictness annotations defined by the programmer are not checked but
  1081.  
  1082. taken to be true.
  1083.  
  1084. 
  1085.  
  1086. ‚Ä¢   No Types
  1087.  
  1088. 
  1089.  
  1090. No type or strictness information is displayed when this option is chosen.
  1091.  
  1092. 
  1093.  
  1094. ‚Ä¢   Inferred Types
  1095.  
  1096. 
  1097.  
  1098. The inferred types of functions that are not typed by the programmer are
  1099.  
  1100. displayed in the Types window. Strictness information is not displayed.
  1101.  
  1102. 
  1103.  
  1104. ‚Ä¢   Strict Export Types
  1105.  
  1106. 
  1107.  
  1108. The types of functions that are exported are displayed including inferred
  1109.  
  1110. strictness information, but only when the type in the definition module
  1111.  
  1112. does not contain the same strictness information as was found by the
  1113.  
  1114. strictness analyser. This way it is easy to check for all function if all
  1115.  
  1116. strictness information is exported.
  1117.  
  1118. 
  1119.  
  1120. ‚Ä¢   All types
  1121.  
  1122. 
  1123.  
  1124. The types of all functions including strictness information are displayed in
  1125.  
  1126. the Types window.
  1127.  
  1128. 
  1129.  
  1130. ‚Ä¢   Show Attributes
  1131.  
  1132. 
  1133.  
  1134. Check this box if you want uniqueness attributes displayed in the listed
  1135.  
  1136. types.
  1137.  
  1138. 
  1139.  
  1140. ‚Ä¢   Be Verbose
  1141.  
  1142. 
  1143.  
  1144. If set additional information about the compilation process is given. Turn
  1145.  
  1146. it off to speed up the compilation.
  1147.  
  1148. 
  1149.  
  1150. ‚Ä¢   Give warnings
  1151.  
  1152. 
  1153.  
  1154. When this option is set also warnings are produced in the Error window.
  1155.  
  1156. Turn it on when you are an inexperienced Clean programmer or when you
  1157.  
  1158. want to be informed about unusual but not erroneous situations.
  1159.  
  1160. 
  1161.  
  1162. ‚Ä¢   Generate comments
  1163.  
  1164. 
  1165.  
  1166. Set this option if you want to be able to read the generated .abc file. Turn
  1167.  
  1168. it off to speed up the compilation process.
  1169.  
  1170. 
  1171.  
  1172. 
  1173.  
  1174. ‚Ä¢   Code
  1175.  
  1176. Generator...
  1177.  
  1178. 
  1179.  
  1180. ≈∏
  1181.  
  1182. ≈∏
  1183.  
  1184. ≈∏
  1185.  
  1186. ≈∏
  1187.  
  1188. ≈∏
  1189.  
  1190. ≈∏
  1191.  
  1192. ≈∏
  1193.  
  1194. ≈∏
  1195.  
  1196. ≈∏
  1197.  
  1198. ≈∏    
  1199.  
  1200. ≈∏
  1201.  
  1202.  
  1203. ≈∏
  1204.  
  1205. ≈∏
  1206.  
  1207. ≈∏
  1208.  
  1209.  
  1210. ≈∏
  1211.  
  1212. 
  1213.  
  1214. 
  1215.  
  1216. In this dialog the options for the Code Generator can be set. The code
  1217.  
  1218. generator reads .abc files and generates .obj files.
  1219.  
  1220. 
  1221.  
  1222. Options can be set for the current project as well as a default for new
  1223.  
  1224. projects.
  1225.  
  1226. See Code Generator, Application and Files.
  1227.  
  1228. 
  1229.  
  1230. ‚Ä¢   Checks
  1231.  
  1232. 
  1233.  
  1234. One can generate additional code to check the stack boundaries. When you
  1235.  
  1236. are developing an application, set the Check Stacks option on. When you
  1237.  
  1238. have tuned the final application (see Application) and are certain that the
  1239.  
  1240. stack boundaries are not violated, you can turn the options off to speed up
  1241.  
  1242. execution.
  1243.  
  1244. 
  1245.  
  1246. When you are developing an application, set the Check Indices option on
  1247.  
  1248. when you are using Arrays. When you have tuned the final application (see
  1249.  
  1250. Application) and are certain that the index boundaries are not violated,
  1251.  
  1252. you can turn the options
  1253.  
  1254. off to speed up execution.
  1255.  
  1256. 
  1257.  
  1258. By default the .abc files generated by the compiler will be thrown away
  1259.  
  1260. after code generation. Set the Keep ABC Files option if you want to keep
  1261.  
  1262. your .abc files. This can be useful when you want to generate code for
  1263.  
  1264. another processor without recompilation or if you are interested in the
  1265.  
  1266. generated ABC code.
  1267.  
  1268. 
  1269.  
  1270. ‚Ä¢   Processor
  1271.  
  1272. 
  1273.  
  1274. Choose the proper processor on which the application should run. Also
  1275.  
  1276. specify that a floating point processor is available.
  1277.  
  1278. 
  1279.  
  1280. By default, the Code Generator generates code for the machine that you
  1281.  
  1282. are working on (Current Processor). If you want to generate code for
  1283.  
  1284. another type of machine, check one of the other options. One has to decide
  1285.  
  1286. on which class of machines the applications should run (68000/Mac+ or
  1287.  
  1288. higher, 68020 or higher). The 68020 option will produce much better
  1289.  
  1290. code, but the application will not run on a Mac+.
  1291.  
  1292. 
  1293.  
  1294. Check the Keep PowerPC code option if you want to generate a fat
  1295.  
  1296. application for the Macintosh. If this option is not checked, the Clean
  1297.  
  1298. System will ask if you want to delete the PowerPC code when the
  1299.  
  1300. application you generate already contains PowerPC code.
  1301.  
  1302. 
  1303.  
  1304. 
  1305.  
  1306. ‚Ä¢   Application‚Ķ
  1307.  
  1308. 
  1309.  
  1310. ÿ
  1311.  
  1312. ÿ
  1313.  
  1314. ÿ
  1315.  
  1316. ÿ
  1317.  
  1318. ÿ
  1319.  
  1320. ÿ
  1321.  
  1322. ÿ
  1323.  
  1324. ÿ
  1325.  
  1326. ÿ
  1327.  
  1328. √ø    
  1329.  
  1330. ÿ
  1331.  
  1332.  
  1333. ÿ
  1334.  
  1335. ÿ
  1336.  
  1337. ÿ
  1338.  
  1339.  
  1340. ÿ
  1341.  
  1342. ÿ
  1343.  
  1344. 
  1345.  
  1346. 
  1347.  
  1348. In this dialog the run-time options for an application can be set. The
  1349.  
  1350. application for which the options are set is determined by the project
  1351.  
  1352. name. The current name is displayed in the Execute command in the
  1353.  
  1354. Commands menu (command R). The options are used when a new
  1355.  
  1356. application is generated. Even when the application already exists, its
  1357.  
  1358. options can be reset to the new values, without recompilation.
  1359.  
  1360. 
  1361.  
  1362. Options can be set for the current project as well as a default for new
  1363.  
  1364. projects.
  1365.  
  1366. 
  1367.  
  1368. Application options are stored in the resource of the corresponding
  1369.  
  1370. application and examined by its run-time system before the execution
  1371.  
  1372. starts
  1373.  
  1374. 
  1375.  
  1376. This version of the Concurrent Clean System is able to generate
  1377.  
  1378. sequential applications. We are working on a code generator that produces
  1379.  
  1380. parallel code for several Macs connected by an AppleTalk network.
  1381.  
  1382. 
  1383.  
  1384. ‚Ä¢   Configuration
  1385.  
  1386. 
  1387.  
  1388. Set the heap space and the maximal amount of space available for the
  1389.  
  1390. stacks. The stack space is created outside the heap space. The extra
  1391.  
  1392. memory is needed for administration and is highly determined by the
  1393.  
  1394. number of files and windows that are opened. 40 to 60K will be enough in
  1395.  
  1396. general. An application might crash when this value is set too low.
  1397.  
  1398. 
  1399.  
  1400. The application will stop with a run-time error message when a heap or
  1401.  
  1402. stack turns out to be too small during execution and code is generated to
  1403.  
  1404. test on the stack boundaries (see Code Generation). When no checks are
  1405.  
  1406. incorporated, the application will probably crash when stack boundaries
  1407.  
  1408. are violated. The heap size will always be tested.
  1409.  
  1410. 
  1411.  
  1412. Increase the space sizes when the application needs more memory. It is
  1413.  
  1414. also possible that the application requires less memory. For an optimal
  1415.  
  1416. tuning look at the run-time information that the application can produce
  1417.  
  1418. (see below).
  1419.  
  1420. 
  1421.  
  1422. ‚Ä¢   Information
  1423.  
  1424. 
  1425.  
  1426. An application can produce all kinds of information to make an optimal
  1427.  
  1428. tuning of the memory size to be assigned to the application possible.
  1429.  
  1430. 
  1431.  
  1432. The execution time will be displayed when the application stops and Show
  1433.  
  1434. Execution Time is chosen.
  1435.  
  1436. 
  1437.  
  1438. Each time the garbage collector is invoked this is displayed when Show
  1439.  
  1440. Garbage Collections is chosen. The run-time system uses both a copying
  1441.  
  1442. as well as a mark-scan garbage collection algorithm. It automatically
  1443.  
  1444. switches between these two garbage collection strategies to obtain an
  1445.  
  1446. optimal time/space behaviour (see Groningen (1991)). This option gives
  1447.  
  1448. you information about how well the heap size was chosen.
  1449.  
  1450. 
  1451.  
  1452. In addition, also the sizes of the different stacks are printed when Print
  1453.  
  1454. Stack Size is chosen. This helps to tune the sizes of the stacks.
  1455.  
  1456. 
  1457.  
  1458. ‚Ä¢   Output
  1459.  
  1460. 
  1461.  
  1462. With these options one has control over the way the result of the Start
  1463.  
  1464. function is displayed.
  1465.  
  1466. 
  1467.  
  1468. Choose Show Constructors and all constructors and brackets will be
  1469.  
  1470. shown.
  1471.  
  1472. Choose Basic Values Only if you only want to display basic values only
  1473.  
  1474. (integers, booleans, strings, characters, reals).
  1475.  
  1476. 
  1477.  
  1478. Choose No Console if the I/O of the program is handled via the I/O
  1479.  
  1480. libraries. When this option is chosen no console (output window) for the
  1481.  
  1482. program will be provided and the result of the Start function will not be
  1483.  
  1484. displayed. When the Clean program explicitly tries to write to the console
  1485.  
  1486. a console window will be opened. Be careful when you use this option,
  1487.  
  1488. because run-time errors will now just lead to termination of the program,
  1489.  
  1490. without any error message. So, when your program terminates
  1491.  
  1492. unexpectedly probably a run-time error has been detected. Choose one of
  1493.  
  1494. the other Output options and run the program again to be able to read the
  1495.  
  1496. error message.
  1497.  
  1498. 
  1499.  
  1500. The font and size of the generated output on the console can also be set in
  1501.  
  1502. the dialog that appears when the Font button is pressed. This option has no
  1503.  
  1504. effect when the output of the program is done via the I/O libraries of
  1505.  
  1506. Concurrent Clean.
  1507.  
  1508. 
  1509.  
  1510. 
  1511.  
  1512. 
  1513.  
  1514. ‚Ä¢   Paths‚Ķ
  1515.  
  1516. 
  1517.  
  1518. –
  1519.  
  1520. –
  1521.  
  1522. –
  1523.  
  1524. –
  1525.  
  1526. –
  1527.  
  1528. –
  1529.  
  1530. –
  1531.  
  1532. –
  1533.  
  1534. –
  1535.  
  1536. ‚Äì    
  1537.  
  1538. –
  1539.  
  1540.  
  1541. –
  1542.  
  1543. –
  1544.  
  1545. –
  1546.  
  1547.  
  1548. –
  1549.  
  1550. –
  1551.  
  1552. –
  1553.  
  1554. 
  1555.  
  1556. 
  1557.  
  1558. Define the search paths for the Concurrent Clean System.
  1559.  
  1560. 
  1561.  
  1562. A dialog appears in which you can add and remove search paths, i.e.
  1563.  
  1564. folders in which the System will search.
  1565.  
  1566. 
  1567.  
  1568. There are default settings for any project and settings that are project
  1569.  
  1570. dependent.
  1571.  
  1572. 
  1573.  
  1574. When a folder is added, a standard dialog appears to let you define the
  1575.  
  1576. folder to search for. Folders are only examined one level deep, so no
  1577.  
  1578. sub-folders are searched, except for the subfolder Clean System Files.
  1579.  
  1580. This folder (if it exists) will also be examined inside each selected folder.
  1581.  
  1582. 
  1583.  
  1584. By default the System will need to find the StdEnv folder. When you are
  1585.  
  1586. developing an application that uses the advanced I/O-facilities the
  1587.  
  1588. IOInterface and MacInterface folder will also be needed.
  1589.  
  1590. 
  1591.  
  1592. For a project all files that are part of the project have to be found. By
  1593.  
  1594. default, the system will search in the folder where the main module is
  1595.  
  1596. located. Also the Clean System Files folder that is generated
  1597.  
  1598. automatically in this folder will be searched.
  1599.  
  1600. 
  1601.  
  1602. When parts of a project are located elsewhere, or when special libraries
  1603.  
  1604. have to be included, the corresponding folders have to be added explicitly
  1605.  
  1606. to the search paths. The Clean System Files folders inside each of these
  1607.  
  1608. included folders will also be searched then.
  1609.  
  1610. 
  1611.  
  1612. The Project Manager will complain when it cannot locate the files it needs.
  1613.  
  1614. A dialog will appear that enforces you to define the location of these files.
  1615.  
  1616. Add the corresponding folders to the search paths to get rid of the
  1617.  
  1618. annoying
  1619.  
  1620. messages.
  1621.  
  1622. 
  1623.  
  1624. See also Installation.
  1625.  
  1626. 
  1627.  
  1628. 
  1629.  
  1630. 
  1631.  
  1632. xThe Windows Menu
  1633.  
  1634. 
  1635.  
  1636. Ó
  1637.  
  1638. Ó
  1639.  
  1640. Ó
  1641.  
  1642. Ó
  1643.  
  1644. Ó
  1645.  
  1646. Ó
  1647.  
  1648. Ó
  1649.  
  1650. Ó
  1651.  
  1652. Ó
  1653.  
  1654. √ì    
  1655.  
  1656. Ó
  1657.  
  1658.  
  1659. Ó
  1660.  
  1661. Ó
  1662.  
  1663. Ó
  1664.  
  1665.  
  1666. Ó
  1667.  
  1668. Ó
  1669.  
  1670. 
  1671.  
  1672. 
  1673.  
  1674. ‚Ä¢   Next Window
  1675.  
  1676. 
  1677.  
  1678. Activates the window directly under the active window and brings it to
  1679.  
  1680. front. The active window is moved to the bottom of the stack of windows
  1681.  
  1682. that are currently open in the Concurrent Clean System.
  1683.  
  1684. 
  1685.  
  1686. ‚Ä¢   Zoom In / Zoom Out
  1687.  
  1688. 
  1689.  
  1690. Standard zoom in or zoom out of the active (front) window.
  1691.  
  1692. 
  1693.  
  1694. ‚Ä¢   Show Clipboard / Hide Clipboard
  1695.  
  1696. 
  1697.  
  1698. This command opens a window on the Clipboard or closes this window
  1699.  
  1700. when it is already open.
  1701.  
  1702. 
  1703.  
  1704. ‚Ä¢   Help...
  1705.  
  1706. 
  1707.  
  1708. This command opens Concurrent Clean's Help window or brings it to the
  1709.  
  1710. front if it is already open.
  1711.  
  1712. 
  1713.  
  1714. See also the Help entry in the Table of Contents.
  1715.  
  1716. 
  1717.  
  1718. ‚Ä¢   Save All
  1719.  
  1720. 
  1721.  
  1722. This command saves the contents of all open windows.
  1723.  
  1724. 
  1725.  
  1726. See also the Save command in the Files menu.
  1727.  
  1728. 
  1729.  
  1730. ‚Ä¢   Close All
  1731.  
  1732. 
  1733.  
  1734. This command closes all open windows.
  1735.  
  1736. 
  1737.  
  1738. See also the Close command in the Files menu.
  1739.  
  1740. 
  1741.  
  1742. ‚Ä¢   Other open windows
  1743.  
  1744. 
  1745.  
  1746. All open windows are listed under the Windows menu. The window in front
  1747.  
  1748. is marked. By choosing a window name in the menu the corresponding
  1749.  
  1750. window will be made active and brought to front.
  1751.  
  1752. 
  1753.  
  1754. 
  1755.  
  1756.